import os

list1 = []
with open(r'D:\Disktop\重复taid.csv', 'r') as f:
    for item in f.read().splitlines():
        list1.append(item)
f.close()

list2 = []
with open(r'D:\Disktop\2.csv', 'r') as f1:
    for item in f1.read().splitlines():
        print(item)
        list2.append(list2)
f1.close()

# print(list1)
# print(list2)
for item in list1:
    if item in list2:
        print(item)
    else:
        # print(item)
        pass